/**
 * Created by Administrator on 2017/3/12.
 */
'use strict';


import React from 'react';
class FootImg extends React.Component{
    render(){
        return(
            <div className="foot_img">
                <a href=""><img src="./images/home-foot-schoolphoto004.png"/></a>
            </div>
        )
    }
}
class LinkF extends React.Component{
    render(){
        return(
            <div className="link clearfix">
                <dl>
                    <dt>{this.props.links.title}</dt>
                    {
                        this.props.links.list.map(function (item,idx) {
                            return <dd  key={"link"+idx}><a href={item.href}>{item.name}</a></dd>
                        })
                    }
                </dl>
            </div>
        )
    }
}
class FootWrap extends React.Component{
    render(){
        return(
            <div className="footWrap">
                <div className="foot_one">
                    <p>Copyright © 2016&nbsp;华中科技大学研究生院招生办公室 All Rights Reserved</p>
                </div>
            </div>
        )
    }
}
export default class Footer extends React.Component{
    render(){
        return(
            <div className="footer">
                <FootImg/>
                <LinkF links={this.props.links}/>
                <FootWrap/>
            </div>
        )
    }
}